package com.huiyeji.dynamic.core.provider;

import com.huiyeji.dynamic.core.DynamicContext;

@Deprecated
public abstract class AbstractNameParamProvider implements ParamProvider {

    private final String paramName;

    public AbstractNameParamProvider(String paramName){
        this.paramName = paramName;
    }

    @Override
    public Object get(DynamicContext context){
        return get(context,paramName);
    }

    public abstract Object get(DynamicContext context, String paramName);
}
